package com.datangnet.parking.basecommon.exception;

public class ExceptionCode {
	public static final String code_success = "0";
	public static final String code_failed = "-1"; // 泛指出现错误或者操作失败.
	public static final String desc_failed = "操作失败, 请重试."; // 泛指出现错误或者操作失败.
	
	public static final String code_request_para_lost = "10000";
	public static final String desc_request_para_lost = "缺少必须的参数信息."; 
	public static final String code_phonenumber_format_error = "10001";
	public static final String desc_phonenumber_format_error = "手机号码格式错误";
	public static final String code_request_para_unknown = "10002";
	public static final String desc_request_para_unknown = "未知的请求";
	
	public static final String code_getsmscode_thirdplat_returnerror = "20001";
	public static final String desc_getsmscode_thirdplat_returnerror = "短信平台返回错误";
	public static final String code_getsmscode_thirdplat_timeout = "20002";
	public static final String desc_getsmscode_thirdplat_timeout = "短信平台无响应";
	public static final String code_getsmscode_timelimit = "20003";
	public static final String desc_getsmscode_timelimit = "获取短信验证码过于频繁";

	public static final String code_accoutregist_smscodeerror = "30001";
	public static final String desc_accoutregist_smscodeerror = "短信验证码错误";
	public static final String code_accoutregist_phonenumberhasexisted = "30002";
	public static final String desc_accoutregist_phonenumberhasexisted = "手机号码已被注册";
	public static final String code_accoutregist_channel_unknown = "30003";
	public static final String desc_accoutregist_channel_unknown = "未知的注册渠道";
	public static final String code_accoutregist_password_lengthlimited = "30004";
	public static final String desc_accoutregist_password_lengthlimited = "密码长度过长.";
	
	public static final String code_accoutlogin_phoneorpassorderror = "40001";
	public static final String desc_accoutlogin_phoneorpassorderror = "手机号或者密码错误.";

}
